package com.chang.bootplus.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "菜单", description = "")
public class MenuPO {

    @ApiModelProperty("父级菜单")
    private Long parentId;

    private String name;

    @ApiModelProperty("菜单url")
    private String path;



    private String perms;

    @ApiModelProperty("头像url")
    private String icon;

    @ApiModelProperty("排序字段")
    private Integer sorted;

    private Integer status;


    @ApiModelProperty("组件类型：类型     0：目录   1：菜单   2：按钮")
    private Integer type;
}
